package Vista;
import javax.swing.BorderFactory;
import javax.swing.JButton;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.SwingUtilities;

import Controlador.ControladorIngrediente;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class NewJDialogIngrediente extends javax.swing.JDialog {
	private JPanel jPanelIngrediente;
	private JLabel jLblCodigo;
	private JButton jBtoIngredBuscar;
	private JButton jBtoModificar;
	private JButton jBtoSalir;
	private JButton jBtoAgregar;
	private JTextField jTxtCantidad;
	private JTextField jTxtStockMaximo;
	private JTextField jTxtStockMinimo;
	private JTextField jTxtNombreIngrediente;
	private JTextField jTxtCodigoIngrediente;
	private JLabel jLblNombreIngrediente;
	private JLabel jLblCantidad;
	private JLabel jLStockMaximo;
	private JLabel jLblStockMinimo;

	/**
	* Auto-generated main method to display this JDialog
	*/
	
	
	public NewJDialogIngrediente(JFrame frm,
			ControladorIngrediente controladorIngrediente)	{
		super(frm);
		initGUI();
	}
	

	private void initGUI() {
		try {
			{
				this.setTitle("Ingrediente");
				this.setFont(new java.awt.Font("Comic Sans MS",3,14));
				getContentPane().setLayout(null);
				{
					jPanelIngrediente = new JPanel();
					getContentPane().add(jPanelIngrediente);
					jPanelIngrediente.setBounds(23, 26, 542, 355);
					jPanelIngrediente.setLayout(null);
					jPanelIngrediente.setBorder(BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(0,0,0)));
					jPanelIngrediente.setBackground(new java.awt.Color(237,206,69));
					{
						jLblCodigo = new JLabel();
						jPanelIngrediente.add(jLblCodigo);
						jLblCodigo.setText("Codigo Ingrediente");
						jLblCodigo.setBounds(21, 24, 160, 15);
						jLblCodigo.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jLblNombreIngrediente = new JLabel();
						jPanelIngrediente.add(jLblNombreIngrediente);
						jLblNombreIngrediente.setText("Nombre Ingrediente");
						jLblNombreIngrediente.setBounds(21, 68, 160, 15);
						jLblNombreIngrediente.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jLblStockMinimo = new JLabel();
						jPanelIngrediente.add(jLblStockMinimo);
						jLblStockMinimo.setText("Stock Minimo");
						jLblStockMinimo.setBounds(21, 113, 160, 15);
						jLblStockMinimo.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jLStockMaximo = new JLabel();
						jPanelIngrediente.add(jLStockMaximo);
						jLStockMaximo.setText("Stock Maximo");
						jLStockMaximo.setBounds(21, 158, 160, 15);
						jLStockMaximo.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jLblCantidad = new JLabel();
						jPanelIngrediente.add(jLblCantidad);
						jLblCantidad.setText("Cantidad Disponible");
						jLblCantidad.setBounds(21, 203, 168, 15);
						jLblCantidad.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jTxtCodigoIngrediente = new JTextField();
						jPanelIngrediente.add(jTxtCodigoIngrediente);
						jTxtCodigoIngrediente.setBounds(217, 22, 216, 22);
						jTxtCodigoIngrediente.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jTxtNombreIngrediente = new JTextField();
						jPanelIngrediente.add(jTxtNombreIngrediente);
						jTxtNombreIngrediente.setBounds(217, 66, 216, 22);
						jTxtNombreIngrediente.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jTxtStockMinimo = new JTextField();
						jPanelIngrediente.add(jTxtStockMinimo);
						jTxtStockMinimo.setBounds(217, 111, 216, 22);
						jTxtStockMinimo.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jTxtStockMaximo = new JTextField();
						jPanelIngrediente.add(jTxtStockMaximo);
						jTxtStockMaximo.setBounds(217, 156, 216, 22);
						jTxtStockMaximo.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jTxtCantidad = new JTextField();
						jPanelIngrediente.add(jTxtCantidad);
						jTxtCantidad.setBounds(217, 201, 216, 22);
						jTxtCantidad.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jBtoAgregar = new JButton();
						jPanelIngrediente.add(jBtoAgregar);
						jBtoAgregar.setText("Agregar");
						jBtoAgregar.setBounds(13, 314, 106, 22);
						jBtoAgregar.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jBtoSalir = new JButton();
						jPanelIngrediente.add(jBtoSalir);
						jBtoSalir.setText("Salir");
						jBtoSalir.setBounds(443, 314, 82, 22);
						jBtoSalir.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jBtoModificar = new JButton();
						jPanelIngrediente.add(jBtoModificar);
						jBtoModificar.setText("Modificar");
						jBtoModificar.setBounds(150, 315, 106, 22);
						jBtoModificar.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jBtoIngredBuscar = new JButton();
						jPanelIngrediente.add(jBtoIngredBuscar);
						jBtoIngredBuscar.setText("Buscar");
						jBtoIngredBuscar.setBounds(445, 23, 85, 22);
						jBtoIngredBuscar.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
				}
			}
			this.setSize(593, 431);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}


	public JPanel getjPanelIngrediente() {
		return jPanelIngrediente;
	}


	public JLabel getjLblCodigo() {
		return jLblCodigo;
	}


	public JButton getjBtoModificar() {
		return jBtoModificar;
	}


	public JButton getjBtoSalir() {
		return jBtoSalir;
	}


	public JButton getjBtoAgregar() {
		return jBtoAgregar;
	}


	public JTextField getjTxtCantidad() {
		return jTxtCantidad;
	}


	public JTextField getjTxtStockMaximo() {
		return jTxtStockMaximo;
	}


	public JTextField getjTxtStockMinimo() {
		return jTxtStockMinimo;
	}


	public JTextField getjTxtNombreIngrediente() {
		return jTxtNombreIngrediente;
	}


	public JTextField getjTxtCodigoIngrediente() {
		return jTxtCodigoIngrediente;
	}


	public JLabel getjLblNombreIngrediente() {
		return jLblNombreIngrediente;
	}


	public JLabel getjLblCantidad() {
		return jLblCantidad;
	}


	public JLabel getjLStockMaximo() {
		return jLStockMaximo;
	}


	public JLabel getjLblStockMinimo() {
		return jLblStockMinimo;
	}


	public JButton getjBtoIngredBuscar() {
		return jBtoIngredBuscar;
	}

}
